﻿namespace PacketRush.Core
{
    /// <summary>
    /// Describes the connection state of a <see cref="PacketRush.Core.NetClient"/> instance.
    /// </summary>
    public enum NetClientConnectionState
    {
        /// <summary>
        /// The connection is in a disconnected state.
        /// </summary>
        Disconnected = 1,
        /// <summary>
        /// The connection is connecting.
        /// </summary>
        Connecting = 2,
        /// <summary>
        /// The connection is waiting to have a connection id assigned to it.
        /// </summary>
        AssigningId = 3,
        /// <summary>
        /// The connection is connected.
        /// </summary>
        Connected = 4
    }
}
